* {
  margin: 0;
  padding: 0;
}
body {
  // background-color: #0a182b;
  // color: #61b7f0;
  color: #111111;
  font-size: 14px;
}

$font-size-12: 12px;
$font-size-14: 14px;
$font-size-16: 16px;
$font-size-18: 18px;
$font-size-20: 20px;
$font-size-22: 22px;
$font-size-24: 24px;
$font-size-26: 26px;

/*============================= 弹性盒子 =============================*/
@mixin displayFlex($align: center, $justify: center) {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: $align;
  justify-content: $justify;
}

@mixin alignItems($align: center) {
  @include displayFlex($align, center);

  &-start {
    @include displayFlex($align, flex-start);
  }

  &-center {
    @include displayFlex($align, center);
  }

  &-end {
    @include displayFlex($align, flex-end);
  }

  &-between {
    @include displayFlex($align, space-between);
  }

  &-around {
    @include displayFlex($align, space-around);
  }

  &-evenly {
    @include displayFlex($align, space-evenly);
  }
}

.flex {
  @include displayFlex;

  &-center {
    @include alignItems(center);
  }

  &-start {
    @include alignItems(flex-start);
  }

  &-end {
    @include alignItems(flex-end);
  }
}

[class*='flex-'],
[class^='flex'] {
  &.row {
    flex-direction: row;
  }

  &.row-reverse {
    flex-direction: row-reverse;
  }

  &.column {
    flex-direction: column;
  }

  &.column-reverse {
    flex-direction: column-reverse;
  }

  &.wrap {
    flex-wrap: wrap;
  }

  &.nowrap {
    flex-wrap: nowrap;
  }
  &.fill {
    height: 100%;
  }
}

.overT {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*============================= 滚动条盒子 =============================*/
.scroll {
  overflow: auto;
  // 美化滚动条样式
  &::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  &:hover {
    &::-webkit-scrollbar-thumb {
      background-color: #a8a8a8;
    }
  }
  &::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 4px;
  }
  
  &::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 4px;
  }
}